//
//  UIView+Rect.h
//  QRTest
//
//  Created by shiwanjun on 14-4-22.
//  Copyright (c) 2014年 com.gewara. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Rect)
- (void)setPosx:(float)x;
- (void)setPosy:(float)y;
- (CGPoint)brPos;
- (CGPoint)centerPos;

//
@property(nonatomic) CGFloat left;
@property(nonatomic) CGFloat right;
@property(nonatomic) CGFloat top;
@property(nonatomic) CGFloat bottom;
@property(nonatomic) CGFloat width;
@property(nonatomic) CGFloat height;
@end
